﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using HtmlAgilityPack;

namespace HtmlHelper
{
    /// <summary>
    /// 节点属性
    /// </summary>
    public class NodeAttribute
    {
        /// <summary>
        /// 值
        /// </summary>
        public string Value { get; set; }
        /// <summary>
        /// 节点
        /// </summary>
        public HtmlAgilityPack.HtmlNode HtmlNode { get; set; }
        /// <summary>
        /// XPath
        /// </summary>
        public string XPath { get; set; }
        /// <summary>
        /// 节点名称
        /// </summary>
        public string Name { get; set; }
        /// <summary>
        /// 原始名称
        /// </summary>
        public string OriginalName { get; set; }
        /// <summary>
        /// 行号
        /// </summary>
        public int Line { get; set; }
    }
}
